package com.test.dao;

import com.test.pojo.History;

import java.util.List;
import java.util.Map;

public interface HistoryDao {

    int addHistory(History history);

    int deleteHistory(Integer id);

    List<History> findAllHistory(String username);

    List<History> findHistoryById(Integer id);
}
